package com.huike.game.Activity;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.huike.game.R;

import static com.huike.game.R.drawable.setting;

public class GameActivity4 extends AppCompatActivity {
    private ImageView ivLeftImage;
    private TextView tvLeftText;
    private ImageView ivRigthImage;
    private TextView tvRightText;
    private TextView tvContentName;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_game4);
        initTitle();
    }

    private void initTitle() {
        ivLeftImage = (ImageView) findViewById(R.id.iv_left_image);
        tvLeftText = (TextView) findViewById(R.id.tv_left_text);
        ivRigthImage = (ImageView) findViewById(R.id.iv_rigth_image);
        tvRightText = (TextView) findViewById(R.id.tv_right_text);
        tvContentName = (TextView) findViewById(R.id.tv_content_title);

        ivLeftImage.setVisibility(View.GONE);
        tvLeftText.setVisibility(View.GONE);

        tvContentName.setText("用户登陆");

        ivRigthImage.setImageResource(setting);
        tvRightText.setText("网络设置");
    }

}
